home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFBIND
/
VSTFONTS.S
< prev
next >
Wrap
Text File
|
1993-03-16
|
2KB
|
67 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*
;* 07/18/91 v1.6
;* The DRI manual shows these two functions taking a parm 'select',
;* but it also says that the 1 intin parm is 'reserved, s/b 0'.
;* Further confusing matters, the original Alcyon bindings set the
;* intin count to zero, not one. And finally, users report that
;* the vst_load_fonts() call dies with 3 bombs. None of that makes
;* any sense to me, but the intin count has been changed to zero,
;* we'll see if that fixes the problem.
;*========================================================================
;*------------------------------------------------------------------------
;* Load fonts.
;*------------------------------------------------------------------------
globl _vst_load_fonts
_vst_load_fonts:
; .cargs #8,handle.w
handle = 8
link a6,#-2
; VContrl #119
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
clr.l -(sp) ; contrl[3,2]
clr.w -(sp) ; contrl[1]
move.w #119,-(sp) ; contrl[0]
subq.l #4,sp ;* -> ptsout
pea -2(a6) ;* -> intout
subq.l #8,sp ;* -> ptsin, intin
pea 16(sp) ;* -> contrl
jmp vdicall
;*------------------------------------------------------------------------
;* Unload fonts.
;*------------------------------------------------------------------------
globl _vst_unload_fonts
_vst_unload_fonts:
; .cargs #8,handle.w
handle = 8
link a6,#-2
; VContrl #120
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
clr.l -(sp) ; contrl[3,2]
clr.w -(sp) ; contrl[1]
move.w #120,-(sp) ; contrl[0]
subq.l #4,sp ;* -> ptsout
pea -2(a6) ;* -> intout
subq.l #8,sp ;* -> ptsin, intin
pea 16(sp) ;* -> control
jmp vdicall
end